﻿using System.Windows;

/// <summary>
/// Vector类的扩展方法类
/// </summary>
public static class VectorExtensions
{

    /// <summary>
    /// 将平面向量转为平面点
    /// </summary>
    /// <param name="v">平面向量</param>
    /// <returns>平面点</returns>
    public static Point ToPoint(this Vector v)
    {
        return new Point(v.X, v.Y);
    }

}